home *** CD-ROM | disk | FTP | other *** search
/ SGI IndiZone 2 / SGI IndiZone 2.iso / OutOfBox.idb / usr / people / tour / oob / scenegraphs / pillars / pillars.iv.z / pillars.iv
Text File  |  1994-12-16  |  5KB  |  291 lines

  1. #Inventor V1.0 ascii
  2.  
  3.     DEF img BufferedMovie {
  4.     filename "movies/pillars/pillars.mv"
  5.     ## zoom 3.0 3.0
  6.     zoom 2.0 2.0
  7.     origin 320 240 0
  8.     buffering SYNC
  9.     loopType LOOP
  10.     }
  11.     HotObject {
  12.     genActList ActionList {
  13.         ChangeViewerAction {
  14.             viewing OFF
  15.             newViewer FRAME
  16.             escapeRoom "scenegraphs/pillars/exit.iv"
  17.         }
  18.         SetCameraAction {
  19.             location 208.8048 6.1921 4.5952
  20.             lookAt 192.7531 33.1605 97.6819
  21.             ## fieldOfView 0.78539817 ## pi/4
  22.             fieldOfView  0.72499233
  23.         }
  24.         PlaySoundTrackAction
  25.         {
  26.             soundTrackNode  DEF AUD AudioNode {
  27.                      filename "sounds/pillars/pillars.aifc"
  28.                     loop YUP
  29.                     rude NOPE
  30.                     sproc YUP
  31.                 }
  32.  
  33.         }
  34.     }
  35.     }
  36.     HotObject {
  37.     selActList ActionList {
  38.         DEF WAIT WaitCursorAction {}
  39.         DEF BEEP LinkAction {
  40.             link "playaifc -q sounds/pillars/gong.aifc &"
  41.         }
  42.         ChangeSceneAction {
  43.             NewSceneGraph "scenegraphs/stopMotion/stopMotion.iv"
  44.         }
  45.         DEF REG RegularCursorAction {}
  46.     }
  47.     genActList LoopActionList {
  48.         stepType FRAME_TIME
  49.         framesPerSec 30
  50. #        SaveScreenAction {
  51. #            filename "pillarscreen"
  52. #            endNumber 20
  53. #        }
  54.         RunMovieAction {
  55.             movieNode USE img
  56.         }
  57.         SIDJumpAction {
  58.             frames 119
  59.             pathType ABSOLUTE
  60.             transform DEF BLAH Transform {
  61.                     scaleFactor .35 .35 .35
  62.                     }
  63.             fileX "Fcurv/pillars/yellow-x.fraw"
  64.             fileY "Fcurv/pillars/yellow-y.fraw"
  65.             fileZ "Fcurv/pillars/yellow-z.fraw"
  66.         }
  67.         SIDJumpAction {
  68.             frames 119
  69.             pathType ABSOLUTE
  70.             transform DEF BLAH2 Transform {
  71.                     scaleFactor .35 .35 .35
  72.                     }
  73.             fileX "Fcurv/pillars/green-x.fraw"
  74.             fileY "Fcurv/pillars/green-y.fraw"
  75.             fileZ "Fcurv/pillars/green-z.fraw"
  76.         }
  77.         SIDJumpAction {
  78.             frames 119
  79.             pathType ABSOLUTE
  80.             transform DEF BLAH3 Transform {
  81.                     scaleFactor .35 .35 .35
  82.                     }
  83.             fileX "Fcurv/pillars/blue-x.fraw"
  84.             fileY "Fcurv/pillars/blue-y.fraw"
  85.             fileZ "Fcurv/pillars/blue-z.fraw"
  86.         }
  87.         SIDJumpAction {
  88.             frames 119
  89.             pathType ABSOLUTE
  90.             transform DEF BLAH4 Transform {
  91.                     scaleFactor .35 .35 .35
  92.                     }
  93.             fileX "Fcurv/pillars/red-x.fraw"
  94.             fileY "Fcurv/pillars/red-y.fraw"
  95.             fileZ "Fcurv/pillars/red-z.fraw"
  96.         }
  97.     }
  98.     USE BLAH
  99.     ## YELLOW ball
  100.     Highlight {
  101.         Separator {
  102.         ## unhighlighted state
  103.             Material {
  104.                 diffuseColor .964 .657 .092
  105.             }
  106.             DEF SphereGeom Sphere {
  107.                 radius 5
  108.             }
  109.         }
  110.         Separator {
  111.         ## highlighted state
  112.             DrawStyle {
  113.                 style LINES
  114.             }
  115.             Material {
  116.                 diffuseColor .964 .657 .092
  117.                 emissiveColor .1 .1 .1
  118.             }
  119.             USE SphereGeom
  120.         }
  121.     }
  122.     }
  123.     HotObject {
  124.     selActList ActionList {
  125.         USE WAIT
  126.         USE BEEP
  127. #        LinkAction {
  128. #            link "playaifc -q sounds/pillars/gong.aifc &"
  129. #        }
  130.         ChangeSceneAction {
  131.             NewSceneGraph "scenegraphs/connect/connections.iv"
  132.         }
  133.         USE REG
  134.     }
  135.     USE BLAH2
  136.     ## GREEN ball
  137.     Highlight {
  138.         Separator {
  139.         ## unhighlighted state
  140.             Material {
  141.                 diffuseColor .056 .857 .468
  142.             }
  143.             USE SphereGeom
  144.         }
  145.         Separator {
  146.         ## highlighted state
  147.             DrawStyle {
  148.                 style LINES
  149.             }
  150.             Material {
  151.                 diffuseColor .056 .857 .468
  152.                 emissiveColor .1 .1 .1
  153.             }
  154.             USE SphereGeom
  155.         }
  156.         }
  157.     }
  158.     HotObject {
  159.     selActList ActionList {
  160.         USE WAIT
  161.         USE BEEP
  162. #        LinkAction {
  163. #            link "playaifc -q sounds/pillars/gong.aifc &"
  164. #        }            
  165.         ChangeSceneAction {
  166.             NewSceneGraph "scenegraphs/earth/EARTHPICK.iv"
  167.         }    
  168.         USE REG        
  169.     }
  170.     USE BLAH3
  171.     ## BLUE ball
  172.     Highlight {
  173.         Separator {
  174.         ## unhighlighted state
  175.             Material {
  176.                 diffuseColor 0 0 1
  177.             }
  178.             USE SphereGeom
  179.         }
  180.         Separator {
  181.         ## highlighted state
  182.             DrawStyle {
  183.                 style LINES
  184.             }
  185.             Material {
  186.                 diffuseColor 0 0 1
  187.                 emissiveColor .1 .1 .1
  188.             }
  189.             USE SphereGeom
  190.         }
  191.     }
  192.     }
  193.     HotObject {
  194.     selActList ActionList {
  195.         USE WAIT
  196.         USE BEEP
  197. #        LinkAction {
  198. #            link "playaifc -q sounds/pillars/gong.aifc &"
  199. #        }
  200.         ChangeSceneAction {
  201.             NewSceneGraph "scenegraphs/video/video.iv"
  202.         }
  203.         USE REG
  204.     }
  205.     USE BLAH4
  206.     ## RED ball
  207.     Highlight {
  208.         Separator {
  209.         ## unhighlighted state
  210.             Material {
  211.                 diffuseColor .791 .046 .055
  212.             }
  213.             USE SphereGeom
  214.         }
  215.         Separator {
  216.         ## highlighted state
  217.             DrawStyle {
  218.                 style LINES
  219.             }
  220.             Material {
  221.                 diffuseColor .891 .146 .155
  222.                 emissiveColor .1 .1 .1
  223.             }
  224.             USE SphereGeom
  225.         }
  226.     }
  227.  
  228.     }
  229.     ## info button
  230.     HotObject {
  231.     selActList ActionList {
  232.         USE WAIT
  233.         LinkAction {
  234.             link "playaifc -q sounds/pillars/help.aifc &"
  235.         }
  236.         ChangeSceneAction {
  237.             NewSceneGraph "scenegraphs/pillars/help.iv"
  238.         }
  239.         USE REG
  240.     }
  241.     Separator {
  242.     DrawStyle {
  243.         style INVISIBLE
  244.     }
  245.     Transform {
  246.         translation 172.0 7.1605 92.7
  247.     }
  248.     Material {
  249.         diffuseColor 0.4 0.4 0.4
  250.         transparency 0.5
  251.     }
  252.     DEF InfoSphereGeom Cube {
  253.         width 5.5
  254.         height 10
  255.         depth 1
  256.     }
  257.     }
  258.     }
  259.  
  260.     ## exit object
  261.     HotObject {
  262.     selActList ActionList {
  263.         USE WAIT
  264.         LinkAction {
  265.             link "playaifc -q sounds/pillars/gong.aifc &"
  266.         }
  267.         ChangeSceneAction {
  268.             NewSceneGraph "scenegraphs/pillars/exit.iv"
  269.         }
  270.         USE REG
  271.     }
  272.     Separator {
  273.     DrawStyle {
  274.         style INVISIBLE
  275.     }
  276.     Transform {
  277.         translation 157.75 6.2605 92.7
  278.     }
  279.     Material {
  280.         diffuseColor 0.4 0.4 0.4
  281.         transparency 0.5
  282.     }
  283.     Cube {
  284.         width 16
  285.         height 10
  286.         depth 1
  287.     }
  288.     }
  289.     }
  290.  
  291.